<template> 
  <div class="">
      <headcamp :back="$route.meta.back"  :title="$route.meta.title"></headcamp>
 
    <router-view></router-view>
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="home">商城</van-tabbar-item>
      <van-tabbar-item icon="search" to="classify">分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="cart">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o"  to="user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

 <script>
 export default {
     data() {
         return {
             active:0
         }
     },
 }
 </script>

<style lang='scss'>
</style>
